<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>阴影CSS</title>
    <style>
        .container{
            width: 300px;
            margin: 100px auto;
        }
        .one{
            width: 300px;
            height: 100px;
            background-color: chocolate;
            box-shadow: 10px 20px 5px #ddd;
        }
        .font-one{
            text-shadow: 2px 2px red;
        }

        .font-two{
            text-shadow: 2px 2px 6px blue;
        }
        .font-three{
            text-shadow: 0 0 3px green;
        }
        .font-four{
            color: white;
            text-shadow: 2px 2px 4px black;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="one"></div>
        <h1 class="font-one">Web前端开发</h1>
        <h1 class="font-two">Web前端开发</h1>
        <h1 class="font-three">Web前端开发</h1>
        <h1 class="font-four">Web前端开发</h1>
    </div>
</body>
</html>